[INFO] cloning repository https://github.com/SamilDemirel/Rust_Practices
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamilDemirel/Rust_Practices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamilDemirel%2FRust_Practices", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamilDemirel%2FRust_Practices'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b302762228ec34bddb74d877c46bac92393e9a9
[INFO] fixing SamilDemirel/Rust_Practices against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamilDemirel%2FRust_Practices" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SamilDemirel/Rust_Practices
[INFO] finished tweaking git repo https://github.com/SamilDemirel/Rust_Practices
[INFO] tweaked toml for git repo https://github.com/SamilDemirel/Rust_Practices written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SamilDemirel/Rust_Practices on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SamilDemirel/Rust_Practices already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255
[INFO] running `Command { std: "docker" "start" "1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking rust_practices v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> 13_testing_in_rust/lib.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct Guess {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 133 |     value :i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]    --> 13_testing_in_rust/lib.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct Rectangle{
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]    --> 13_testing_in_rust/lib.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Rectangle{
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 114 |
[INFO] [stdout] 115 |     fn can_hold(&self, other: &Rectangle) -> bool{
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> 13_testing_in_rust/lib.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct Guess {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 133 |     value :i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stack_and_heap` is never used
[INFO] [stdout]   --> 4_ownership_in_rust/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn stack_and_heap(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copying_variables` is never used
[INFO] [stdout]   --> 4_ownership_in_rust/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn copying_variables(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership_on_heap` is never used
[INFO] [stdout]   --> 4_ownership_in_rust/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn ownership_on_heap(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership_on_stack` is never used
[INFO] [stdout]   --> 4_ownership_in_rust/main.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn ownership_on_stack(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pass_by_reference` is never used
[INFO] [stdout]   --> 4_ownership_in_rust/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn pass_by_reference(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_by_reference` is never used
[INFO] [stdout]    --> 4_ownership_in_rust/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn change_by_reference(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let d = MySmartPointer{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let b = Cons(3,Box::new(a));
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let y = MyCons(3,Rc::clone(&x));
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |     let z = MyCons(4,Rc::clone(&x));
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_deref` is never used
[INFO] [stdout]  --> 19_smart_pointers_in_rust/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn simple_deref(){
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deref_with_smart_pointers` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn deref_with_smart_pointers(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deref_with_own_smart_p` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn deref_with_own_smart_p(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum1` is never used
[INFO] [stdout]   --> 3_functions_in_rust/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn sum1(num1: i32, num2:i32) -> i32{
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     impl<T> MyBox<T> {
[INFO] [stdout]    |     ---------------- associated function in this implementation
[INFO] [stdout] 33 |
[INFO] [stdout] 34 |         fn new(x:T) -> MyBox<T>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deref_with_string` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn deref_with_string(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum2` is never used
[INFO] [stdout]   --> 3_functions_in_rust/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn sum2(num1: i32, num2:i32) -> i32{
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     impl<T> MyBox<T> {
[INFO] [stdout]    |     ---------------- associated function in this implementation
[INFO] [stdout] 72 |
[INFO] [stdout] 73 |         fn new(x:T) -> MyBox<T>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop_trait` is never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn drop_trait(){
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reference_counting` is never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn reference_counting(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interior_mutability` is never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn interior_mutability(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `increment`, and `get` are never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 221 |     impl Counter {
[INFO] [stdout]     |     ------------ associated items in this implementation
[INFO] [stdout] 222 |         fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |         fn increment(&self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |         fn get(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:283:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |     struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 283 |         value: i32,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |         children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point1`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let point1 = Point{x:10, y:10};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point2`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let point2 = Point{x:1.34, y:2.33};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point3`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let point3 = Point2 {x:10, y:1.43};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point4`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let point4 = Point2 {x:1.23, y:43};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point5`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let point5 = Point2 {x:1.23, y:1.21};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point6`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let point6 = Point2 {x:23, y:21};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `witohut_generic_types` is never used
[INFO] [stdout]  --> 10_generic_types_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn witohut_generic_types(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `with_generic_type` is never used
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn with_generic_type(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generics_with_structs` is never used
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn generics_with_structs(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:195:6
[INFO] [stdout]     |
[INFO] [stdout] 195 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 15_iterators_in_rust/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut v2: Vec<i32> = v1.iter().map(|x|x+10).collect();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 15_iterators_in_rust/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut v1_iter = v1.iter();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterator_map` is never used
[INFO] [stdout]   --> 15_iterators_in_rust/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn iterator_map(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterator_sum` is never used
[INFO] [stdout]   --> 15_iterators_in_rust/main.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn iterator_sum(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterator_filter` is never used
[INFO] [stdout]   --> 15_iterators_in_rust/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn iterator_filter(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point1`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let point1 = Point{x:10, y:10};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point2`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let point2 = Point{x:1.34, y:2.33};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point3`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let point3 = Point2 {x:10, y:1.43};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list1`
[INFO] [stdout]   --> 18_the_box_smart_pointer/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let list1 = Cons(1,Box::new(Cons(2,Box::new(Nil))));
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_list1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point4`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let point4 = Point2 {x:1.23, y:43};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point5`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let point5 = Point2 {x:1.23, y:1.21};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point6`
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let point6 = Point2 {x:23, y:21};
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `witohut_generic_types` is never used
[INFO] [stdout]  --> 10_generic_types_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn witohut_generic_types(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `with_generic_type` is never used
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn with_generic_type(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generics_with_structs` is never used
[INFO] [stdout]   --> 10_generic_types_in_rust/main.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn generics_with_structs(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursive_data_structers` is never used
[INFO] [stdout]   --> 18_the_box_smart_pointer/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn recursive_data_structers(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 3_loops_in_rust/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut my_array = [10,20,30,40,50]; // creating an array with 5 i32 elements
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `basic_loop_ver1` is never used
[INFO] [stdout]  --> 3_loops_in_rust/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn basic_loop_ver1(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `basic_loop_ver2` is never used
[INFO] [stdout]   --> 3_loops_in_rust/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn basic_loop_ver2(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `while_loop` is never used
[INFO] [stdout]   --> 3_loops_in_rust/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn while_loop(){
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> 12_life_times_in_rust/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn longest(x: &str, y:&str) -> &str{ 
[INFO] [stdout]    |                   ----    ----     ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y`
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn longest<'a>(x: &'a str, y:&'a str) -> &'a str{ 
[INFO] [stdout]    |               ++++     ++         ++          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> 3_variables_in_rust/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let x = 10;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutable_variables` is never used
[INFO] [stdout]  --> 3_variables_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn mutable_variables(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `for_loop_ver1` is never used
[INFO] [stdout]   --> 3_loops_in_rust/main.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn for_loop_ver1(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `for_loop_ver2` is never used
[INFO] [stdout]   --> 3_loops_in_rust/main.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn for_loop_ver2(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item1`
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:134:32
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn notify3<T: Summary>(item1: &T, item2:&T) { }
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item2`
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:134:43
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn notify3<T: Summary>(item1: &T, item2:&T) { }
[INFO] [stdout]     |                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item1`
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:137:42
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn notify4<T: Summary + Display>(item1 :&T, item2:&T){  }
[INFO] [stdout]     |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item2`
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:137:53
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn notify4<T: Summary + Display>(item1 :&T, item2:&T){  }
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item1`
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn notify5<T,U>(item1: &T, item2: &U)->i32 
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item2`
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:140:36
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn notify5<T,U>(item1: &T, item2: &U)->i32 
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `non_mutable_variables` is never used
[INFO] [stdout]   --> 3_variables_in_rust/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn non_mutable_variables(){ 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cont_variables` is never used
[INFO] [stdout]   --> 3_variables_in_rust/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn cont_variables(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_with_structs` is never used
[INFO] [stdout]  --> 11_traits_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn traits_with_structs(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_trait_implementation` is never used
[INFO] [stdout]   --> 11_traits_in_rust/main.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn default_trait_implementation(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_as_parameters` is never used
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn traits_as_parameters(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_as_return_type` is never used
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn traits_as_return_type(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 |     struct Pair<T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 219 |     impl<T> Pair<T> {
[INFO] [stdout]     |     --------------- associated function in this implementation
[INFO] [stdout] 220 |         fn new(x:T, y:T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> 11_traits_in_rust/main.rs:226:12
[INFO] [stdout]     |
[INFO] [stdout] 225 |     impl<T: Display + PartialOrd> Pair<T>{
[INFO] [stdout]     |     ------------------------------------- method in this implementation
[INFO] [stdout] 226 |         fn cmp_display(&self){
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `four`
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 |  let four = IpAddrKind::V4;
[INFO] [stdout]    |      ^^^^ help: if this is intentional, prefix it with an underscore: `_four`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_file`
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let my_file = match my_file{
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |  let six = IpAddrKind::V6;
[INFO] [stdout]    |      ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_file`
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let my_file = match my_file{
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_file2`
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let my_file2 = File::open("hello.txt").expect("No Such A File To Open");
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_file2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_macro` is never used
[INFO] [stdout]  --> 9_error_handling_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn panic_macro(value : u8){
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `result_enum` is never used
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn result_enum(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `four`
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 |  let four = IpAddrKind::V4;
[INFO] [stdout]    |      ^^^^ help: if this is intentional, prefix it with an underscore: `_four`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |  let six = IpAddrKind::V6;
[INFO] [stdout]    |      ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_error` is never used
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn handle_error(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unwrap_method_of_result` is never used
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn unwrap_method_of_result(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut y: Option<i8> = Some(5);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `basic_enum` is never used
[INFO] [stdout]  --> 6_enums_and_pattern_matching_in_rust/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn basic_enum(){
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut y: Option<i8> = Some(5);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enum_with_data` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn enum_with_data(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enum_with_method` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn enum_with_method(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `print_enum` and `display` are never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl  IpAddrKind {
[INFO] [stdout]    |     ---------------- associated items in this implementation
[INFO] [stdout] 44 |         // implementing an associated function
[INFO] [stdout] 45 |         fn print_enum(){
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |         fn display(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_enum` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn option_enum(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_expression` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn match_expression(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_enum_values` is never used
[INFO] [stdout]    --> 6_enums_and_pattern_matching_in_rust/main.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn combine_enum_values(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a_trick_for_match` is never used
[INFO] [stdout]    --> 6_enums_and_pattern_matching_in_rust/main.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn a_trick_for_match(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `basic_enum` is never used
[INFO] [stdout]  --> 6_enums_and_pattern_matching_in_rust/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn basic_enum(){
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> 12_life_times_in_rust/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let x =5;
[INFO] [stdout]   |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enum_with_data` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn enum_with_data(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enum_with_method` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn enum_with_method(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `print_enum` and `display` are never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl  IpAddrKind {
[INFO] [stdout]    |     ---------------- associated items in this implementation
[INFO] [stdout] 44 |         // implementing an associated function
[INFO] [stdout] 45 |         fn print_enum(){
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |         fn display(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_enum` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:69:4
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn option_enum(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_expression` is never used
[INFO] [stdout]   --> 6_enums_and_pattern_matching_in_rust/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn match_expression(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_enum_values` is never used
[INFO] [stdout]    --> 6_enums_and_pattern_matching_in_rust/main.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn combine_enum_values(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a_trick_for_match` is never used
[INFO] [stdout]    --> 6_enums_and_pattern_matching_in_rust/main.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn a_trick_for_match(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_part`
[INFO] [stdout]    --> 12_life_times_in_rust/main.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let first_part = Excerpt{
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> 12_life_times_in_rust/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let m = "i have a static life time without using 'static"; //default
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> 12_life_times_in_rust/main.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let s: &'static str= "i have a static lifetime"; //this is the syntax
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> 20_concurrency_in_rust/main.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |      let handle = thread::spawn(move || {
[INFO] [stdout]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_thread` is never used
[INFO] [stdout]  --> 20_concurrency_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn simple_thread(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_with_join` is never used
[INFO] [stdout]   --> 20_concurrency_in_rust/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn thread_with_join(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_with_variable` is never used
[INFO] [stdout]   --> 20_concurrency_in_rust/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn thread_with_variable(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_with_channel` is never used
[INFO] [stdout]   --> 20_concurrency_in_rust/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn thread_with_channel(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterating_over_channel` is never used
[INFO] [stdout]   --> 20_concurrency_in_rust/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn iterating_over_channel(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiple_sender_threads` is never used
[INFO] [stdout]    --> 20_concurrency_in_rust/main.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn multiple_sender_threads(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutex` is never used
[INFO] [stdout]    --> 20_concurrency_in_rust/main.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn mutex(){
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> 20_concurrency_in_rust/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     handle.join();
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let _ = handle.join();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_practices` (bin "12_life_times_in_rust" test) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `email` and `active` are never read
[INFO] [stdout]  --> 5_struct_in_rust/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     active : bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulated_exp_calc` is never used
[INFO] [stdout]   --> 14_closures_in_rust/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn simulated_exp_calc(intensity : u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let d = MySmartPointer{
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let b = Cons(3,Box::new(a));
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let y = MyCons(3,Rc::clone(&x));
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |     let z = MyCons(4,Rc::clone(&x));
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> 8_common_collections_in_rust/main.rs:188:51
[INFO] [stdout]     |
[INFO] [stdout] 188 |     scores.entry(String::from("Green")).or_insert((30)); // this line inserts the map, because the value doesnt exist
[INFO] [stdout]     |                                                   ^  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -     scores.entry(String::from("Green")).or_insert((30)); // this line inserts the map, because the value doesnt exist
[INFO] [stdout] 188 +     scores.entry(String::from("Green")).or_insert(30); // this line inserts the map, because the value doesnt exist
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> 8_common_collections_in_rust/main.rs:189:51
[INFO] [stdout]     |
[INFO] [stdout] 189 |     scores.entry(String::from("Green")).or_insert((40)); // this line does nothing, but returns the reference of the exist key's va...
[INFO] [stdout]     |                                                   ^  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -     scores.entry(String::from("Green")).or_insert((40)); // this line does nothing, but returns the reference of the exist key's value 
[INFO] [stdout] 189 +     scores.entry(String::from("Green")).or_insert(40); // this line does nothing, but returns the reference of the exist key's value 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_deref` is never used
[INFO] [stdout]  --> 19_smart_pointers_in_rust/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn simple_deref(){
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deref_with_smart_pointers` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn deref_with_smart_pointers(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deref_with_own_smart_p` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn deref_with_own_smart_p(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     impl<T> MyBox<T> {
[INFO] [stdout]    |     ---------------- associated function in this implementation
[INFO] [stdout] 33 |
[INFO] [stdout] 34 |         fn new(x:T) -> MyBox<T>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deref_with_string` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn deref_with_string(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> 19_smart_pointers_in_rust/main.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     impl<T> MyBox<T> {
[INFO] [stdout]    |     ---------------- associated function in this implementation
[INFO] [stdout] 72 |
[INFO] [stdout] 73 |         fn new(x:T) -> MyBox<T>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop_trait` is never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn drop_trait(){
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reference_counting` is never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn reference_counting(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interior_mutability` is never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn interior_mutability(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `increment`, and `get` are never used
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 221 |     impl Counter {
[INFO] [stdout]     |     ------------ associated items in this implementation
[INFO] [stdout] 222 |         fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |         fn increment(&self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |         fn get(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]    --> 19_smart_pointers_in_rust/main.rs:283:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |     struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 283 |         value: i32,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |         children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice1`
[INFO] [stdout]   --> 4_slices_in_rust/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let slice1 = &my_array[0..2];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> 12_life_times_in_rust/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn longest(x: &str, y:&str) -> &str{ 
[INFO] [stdout]    |                   ----    ----     ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y`
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn longest<'a>(x: &'a str, y:&'a str) -> &'a str{ 
[INFO] [stdout]    |               ++++     ++         ++          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> 12_life_times_in_rust/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let x =5;
[INFO] [stdout]   |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_part`
[INFO] [stdout]    --> 12_life_times_in_rust/main.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let first_part = Excerpt{
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_part`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> 12_life_times_in_rust/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let m = "i have a static life time without using 'static"; //default
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> 12_life_times_in_rust/main.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let s: &'static str= "i have a static lifetime"; //this is the syntax
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulated_exp_calc` is never used
[INFO] [stdout]   --> 14_closures_in_rust/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn simulated_exp_calc(intensity : u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> 3_variables_in_rust/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let x = 10;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutable_variables` is never used
[INFO] [stdout]  --> 3_variables_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn mutable_variables(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `non_mutable_variables` is never used
[INFO] [stdout]   --> 3_variables_in_rust/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn non_mutable_variables(){ 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cont_variables` is never used
[INFO] [stdout]   --> 3_variables_in_rust/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn cont_variables(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list1`
[INFO] [stdout]   --> 18_the_box_smart_pointer/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let list1 = Cons(1,Box::new(Cons(2,Box::new(Nil))));
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_list1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursive_data_structers` is never used
[INFO] [stdout]   --> 18_the_box_smart_pointer/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn recursive_data_structers(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_practices` (bin "12_life_times_in_rust") due to 1 previous error; 4 warnings emitted
[INFO] [stdout] warning: function `vectors_in_rust` is never used
[INFO] [stdout]  --> 8_common_collections_in_rust/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn vectors_in_rust(){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strings_in_rust` is never used
[INFO] [stdout]   --> 8_common_collections_in_rust/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn strings_in_rust(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_file`
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let my_file = match my_file{
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `g`
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let g = 4;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_g`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `email` and `active` are never read
[INFO] [stdout]  --> 5_struct_in_rust/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     active : bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_file`
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let my_file = match my_file{
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_file2`
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let my_file2 = File::open("hello.txt").expect("No Such A File To Open");
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_file2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_macro` is never used
[INFO] [stdout]  --> 9_error_handling_in_rust/main.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn panic_macro(value : u8){
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `result_enum` is never used
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn result_enum(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_error` is never used
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn handle_error(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unwrap_method_of_result` is never used
[INFO] [stdout]   --> 9_error_handling_in_rust/main.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn unwrap_method_of_result(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `signed_integer_data_types` is never used
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn signed_integer_data_types(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unsigned_integer_data_types` is never used
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn unsigned_integer_data_types(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `different_representing_of_integers` is never used
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn different_representing_of_integers(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `integer_overflow` is never used
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn integer_overflow(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `floating_point_number` is never used
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn floating_point_number(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `boolean_type` is never used
[INFO] [stdout]   --> 3_data_types_in_rust/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn boolean_type(){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `character_type` is never used
[INFO] [stdout]    --> 3_data_types_in_rust/main.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn character_type(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tuple_data_type` is never used
[INFO] [stdout]    --> 3_data_types_in_rust/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn tuple_data_type(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_type_and_size` is never used
[INFO] [stdout]    --> 3_data_types_in_rust/main.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn print_type_and_size<T>(_: &T, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255", kill_on_drop: false }`
[INFO] [stdout] 1a13df2309a86f13238c31940c5d80db3721c8b1ebe8cdb0fe4032a71c1fc255
